
AM_FCFLAGS = -I$(top_srcdir)/lib
#AM_CFLAGS = -I$(top_srcdir)/lib

#bin_PROGRAMS = kombine skombine.bin
libexec_PROGRAMS = kombine

#kombine_SOURCES = kombiwrap.c
#kombine_LDADD = -L$(top_srcdir)/lib -lcwrap

kombine_SOURCES = kombine.f95
kombine_LDFLAGS = @LIBGFORTRAN@ @LIBGCC@ -L$(top_srcdir)/lib 
kombine_LDADD   = -lmunipack -lstat -lrstat -lmath -lcfitsio -lm
